package cn.edu.scau.cmi.wuzewei.abstractFactory.domain;

import cn.edu.scau.cmi.wuzewei.abstractFactory.domainAbstractClass.AccidentsInsurance;
import cn.edu.scau.cmi.wuzewei.abstractFactory.domainInterface.PingAn;

public class PingAnAccidentsInsurance extends AccidentsInsurance implements PingAn {
    @Override
    public String details() {
        return PingAn.brand + " " + super.name + " Liability: Accidents coverage pays for medical bills lost wages, rehabilitation, treatment and/or funeral.";
    }
}

